// 树节点类型
export interface BuildingNode {
    id: number;
    name: string;
    pid: number;
    leaf: number;
    children: BuildingNode[];
  }
  
  //楼栋 响应数据类型
  export interface BuildingResponse {
    counts: number;
    pageCounts: number;
    pageSize: number;
    list: BuildingNode[];
  }
  export interface HouseParams {
    buildingid:number,
    page:number,
    psize:number

  }

  // 房屋项类型
export interface HouseItem {
    id: number;
    buildingid: number;
    building: string;
    houseno: string;
    areas: number;
    type: string;
    orientation: string;
  }
  
  // 响应房间数据类型
  export interface HouseResponse {
    counts: number;
    pageCounts: number;
    pageSize: number;
    list: HouseItem[];
  }